package com.hxzy.service.impl;

import com.hxzy.entity.AddressBook;
import com.hxzy.mapper.AddressBookMapper;
import com.hxzy.service.AddressBookService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.math.BigDecimal;

/**
 * @Description 收货地址实现类
 * @Author wy
 * @Date 2023/5/6 11:37
 */
@Service
public class AddressBookServiceImpl extends ServiceImpl<AddressBook, BigDecimal> implements AddressBookService {

    private AddressBookMapper  addressBookMapper;

    @Autowired
    public void setAddressBookMapper(AddressBookMapper addressBookMapper) {
        this.addressBookMapper = addressBookMapper;
        super.setMyBatisBaseDao(addressBookMapper);
    }
}
